function WordEntity(){
  this.word = '';
  this.content = '';
  this.isPass = false;
  this.level = 0;
  this.symbol = '';
  this.sound = '';
  this.equals = false;

  this.equals = function(obj) {
    if(obj.word == this.word && obj.desc == this.content && obj.symbol == this.symbol && obj.sound == this.sound) {
      return true;
    }
    return false;
  };

  this.setWord = function(word) {
    this.word = word;
  };
  this.getWord = function(){
    return this.word;
  };
  this.setContent = function(content) {
    this.content = content;
  };
  this.getContent = function() {
    return this.content;
  };
  this.setIsPass = function(isPass) {
    this.isPass = isPass;
  };
  this.getIsPass = function() {
    return this.isPass;
  };
  this.setLevel = function(level) {
    this.level = level;
  };
  this.getLevel = function() {
    return this.level;
  };
  this.getSymbol = function() {
    return this.symbol;
  };
  this.setSymbol = function(symbol) {
    this.symbol = symbol;
  };
  this.getSound = function() {
    return this.sound;
  };
  this.setSound = function(sound) {
    this.sound = sound;
  };
}
module.exports = {WordEntity};